package nc.ui.am.pagination;

import nc.bs.framework.common.NCLocator;
import nc.itf.am.prv.IDataService;
import nc.vo.am.common.IBillVOSkeleton;
import nc.vo.pub.BusinessException;

public class DefaultPaginationQryService implements IPaginationQueryService {

	private IBillVOSkeleton billVOSkeleton = null;

	public DefaultPaginationQryService(IBillVOSkeleton billVOSkeleton) {
		this.billVOSkeleton = billVOSkeleton;
	}

	public Object[] queryObjectByPks(String[] pks) throws BusinessException {
		IDataService dataService = NCLocator.getInstance().lookup(IDataService.class);
		return dataService.queryBillVOsByPKs(billVOSkeleton, pks);
	}

}
